package club.chenlinghong.product.enums;

import lombok.Getter;

/**
 * @Description 商品上下架状态
 * @Author chenlinghong
 * @Date 2019/6/18 16:40
 * @Version V1.0
 */
@Getter
public enum  ProductStatusEnum {

    UP(0, "在架"),
    DOWN(1, "下架")
    ;

    private Integer code;

    private String message;

    ProductStatusEnum(Integer code, String message){
        this.code = code;
        this.message = message;
    }
}
